package com.aaa.dao;

import com.aaa.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description:
 * @author:LiWei
 * @date:2022年11月17日12:13
 */
@Component
public interface UserDao extends BaseMapper<User>{


    User selectByNameAndPassword(@Param("username")String username,@Param("password")String password);
}
